package com.winterchen.config;

import org.springframework.amqp.core.Queue;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;


/**
 * @className RabbitConfig
 * @Description TODO
 * @Author Administrator
 * @Date 2018/9/21 0021 13:44
 * @Version 1.0
 **/
@Configuration
public class RabbitConfig {
    @Bean
    public Queue Queue() {
        return new Queue("hello");
    }

}
